package leetcode_1000;

public class NRepeatedElementInSize2NArray_961 {
	public int repeatedNTimes(int[] A) {
        boolean []hash=new boolean[10001];
        for(int i:A) {
        	if(hash[i]) return i;
        	hash[i]=true;
        }
        throw null;
    }
}
